There's no need to wait for the dialog to finish fading in before we can
return from Open().
The code, as it was before, would break dialog updates: the dialog was
already open, so the signal would never get emitted, so the method would
never return, and so gnome-session would remain blocked waiting for a
return value that will never come.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4040>
this._sync();
- const signalId = this.connect('opened', () => {
- invocation.return_value(null);
- this.disconnect(signalId);
- });
+ invocation.return_value(null);
}
Close(_parameters, _invocation) {